﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Workflows.Components.ETL
{
    /// <summary></summary>
    public class PatternWeight
    {
        /// <summary></summary>
        public string Key { get; set; }
        /// <summary></summary>
        public string Pattern { get; set; }
        /// <summary></summary>
        public bool Required { get; set; }
        /// <summary></summary>
        public double Weight { get; set; }
        /// <summary></summary>
        public bool MultiMatches { get; set; }

        public PatternWeight Clone()
        {
            PatternWeight clone = new PatternWeight()
            {
                Key = this.Key,
                Pattern = this.Pattern,
                Required = this.Required,
                Weight = this.Weight
            };
            return clone;
        }
    }
}
